Removed the jetty server start up from ui project.
Moved initialization out of main to make things cleaner.