Initial version

Just initialising the application event loop - yawn!