added the startingPoint page for testing the socket connectivity.
moved all socket listening into controller finally