Refactor

Refactored membership using Raven, added Raven and external assemblies.