Refactor Palet.h

Removed some obsolete code and adjusted spacing