added config file
minor fixes in face detection