Title: Programmable Controller - Theory and Implementation