Move readme code to separate file
Added InputHandler and api_key check