divided client app into modules
reorganized public js; added GNU license
sexier looking function headers
function headers for tests