added basic window and sanity check

also includes makefile!