Fixed issue where resource was not found due to be being case senistive. (On OSX, need to test on other operating systems)
Added javadocs