Fixed ctrlc and added keyboard init to main.py