reduced some code and added new class for a color picker that's still wip