Added more functions and method. Also an external JSON and XML file for testing purposes.