moving latest code from personal github, for now new code will be in this repo