first major refactor and added some handy stuff in bin
almost finished
built 1.0.0 version