Main Server for beta testing (working code)