initial commit

finished a validator function and got the HMTL doc setup (roughly)