converted some demos to use ScalesApp;
added documentation