Fixed the server. Final commit

Some sort of magic happened O_o