Separated code and server stuff.