Added some javadoc comments
Clicks will now only affect the topmost object, and specific preferences about object order can be handled by writing in a txt-file