Added trait example and maven support