New api, new graphics

-Json instead of old xml
-new layout option
-prefs visible in apps
-new graphics
-more