moved server side code into modules

Signed-off-by: Alexander Ginzburg <alex@eightbits.com>
need __init__.py for the directory to be considered a package

Signed-off-by: Alexander Ginzburg <alex@eightbits.com>