Added some very basic documentation, added magic __get() method to more easily retrieve fields.