created objects holding functions (methods)
Added JSON data, functions and returns