changed module layout; added postgres database lookup; added cabal build

Extended scim protocol for basic authentication and added handler layout
for "portal" (a.k.a game server). Separated auth server from game
server.