Folders should be present prior to reading the facedata.xml file

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Fix typo

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Initializing should be done after setting the security rules

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>