Switch demo app to Maven

Works in terminal and eclipse