wip refactor: simplified code, wrong file location

took out unnecessary initialize and indeed unnecessary object. updated spec,
changed pass return val to err msg