Initial commit after moving this code from private repo to github