fixed build script and renamed server.rs