Updated controller. OB Actions Still has to be transferred to another module
updated views. Javascript added