initial commit of code

not yet functional