added a base configuration file
moved it as a library
removed the sample file