Controller code for EdsbyBot