Added first server functionality (but need to get it to work)