Added a new folder structure

Added lib and tests folder.