Almost done with the functionality side and json