Added constants, program args, sessioning, mongodb