more modularizing things - pull colour and macport stuff out