added templates for registration
moved palettes to settings, moved settings from py to db