Adding server

Added class templates. Start codding