created server and router for app