Added caching to Brick\Type
Library shouldn't be accessible in the templates.

Removed all business logic
Code refractoring
rewrote BrickType class
fixed apc_fetch was missing
de-activated APC for now
Output rewrite