Started working on server_main