Refactoring Membership module

Refactoring membership module for commonality with entire project,

Still needs to recatory Context in MembershipRepository