better package structure, commented out types
added npm prepublish script