added setup interface
started json class, added more to main interface