Added connect and server task to serve the app on port 9000