Further organization, implementation of sessions for server.