Convert to spring app

resolves #4