Finishes controller & /lib methods