started server api and some other stuff