logic from views removed
Major refactoring of Bhf::Attribute and some performance tweaks