function constructor

changed all objects to constructors
gave examples
added tax variables