added db classes for a table to keep track of apps Sandbox knows about

also fixed some style problems (casing) in Permission classes