Added init to lib folder
Added logging to settings