switch to apc class loader
consolidate front controllers, read config from environment