Added main function and color palette chooser