Added JMX and Demo mode options and improved sakai.init greatly