Cleaned up syntax of dict variable
Added testgiftsale
changed constructor, added private member variables, created commented selftests
Commented out quick-test code