Removed all .json dependencies, removed main function