add a cgi script, update the front-end with some coffee script, half way already