initial commit, code written in class