more server stubs, moved alerts code into own file
more