Added parent pom and made common a maven submodule.