first commit, forking from local project, code slightly cleaned up for public consumption