Implemented automatic uniform detection and updating. Added a readme. Added JavaDocs in folder "docs".