move object wrapping to external class
created package.json
started on some unit tests