CrazyAPI: some code cleanup
CrazyAPI: added some javadocs (more will be added in the future)