added composer json and initial refactoring, more classes moving soon