clean up - using a bit of OOP and json encode to simplify code and adding and about page