Refactor the code and add TomDoc comments
Add placehholder spec file