dried up the code a bit...create memberships module and controller