Refactored the archetype into separate client, common,and server
modules.