I need to write a complex code for a client and don't know where to start. Its a membership website but each member is signed in under another member so that member get credit for the membership. it gets very complex from there. It is called a tier membership i believe. What do i need to do to start?