Complete redesign. Liquidated var.hpp. Added documentation.