added logic to BlindMotorController and created Main class