Draft of server and controller and common done