added pom and writable java class