reset server, got everything working again, moved routes to seperate module