#52 removed unneccessary mains
added javadocs #52