working things, needs refining
good enough, need to convert to a web app now