moved to maven style and updated example to fit more in line with the current version of Chili