cleaned up code, added return false for default

also added header and class description