Reorganized server code.
Added database to gitignore.