Adding compatibility to php 5.4
Adding default config file