adding functions to read/store configurations
added utils in a separated file