removes useless code due to the new resource loader
adds javadoc to the resource loader