Changed how files are loaded

- Automatically gets the class file location
- Uses the class file location to get the java file location