Great Progress

restricted code; introduced views; split up js; added edit form; split
count and colours