restructured libs and added file reading