Project structure

Updated the project structure to be a library