Added Logging and basis of server