Refactored, added Ctrl+C handler
Added README.md