Ability to save libs, views and controllers

Also improved security