updated code base to work with lymph-build's require
initial index file for server-side code
removed client/server specific code