more work on using modules

LEAGApp now inherits from App() which does all the work