Updated pom structure to use inheritance

The parent pom at the project root now also acts as an aggregator
for building all modules.