Updated Javadocs
Added getAPI() method to get API class.