added comments and a readme. added build scripts