loading dir files as module to an object