Added a server solution

All server side code should be used in here