added require and app structure
added shim config to require