Added maven setup to enable running from command line

See the README.md for more info.