adding console, demo file and main pom.xml