changes to framework...

- layout determined by individual file
- params now acquired from app (so errors can work)