Initial
Refactor and major bug fixes
Added readme