add pom.xml
add common interface
add concrete class
add factory class
add testing main class