Added load function
Added new methods to load data