initial commit of my messy work. further reorgnization will hopefully happen