Added variable class
Updated documentation