Add support for reading from URL, bug fixes

Fix bug where JSON objects were being given the class type of 'Class'
Add support for imports at a class level
Move constructor to be inserted after fields in class file