Documentation, building plugins

Adding documentation, changing tests and adding building plugins to the pom.