New json structure, added delegate and new initialization of loader