require json & some class instantiation fun =)