refacto engine + adding security + protecting config for role admin only
Merge pull request #2 from youknowriad/master

refacto engine + adding security + protecting config for role admin only