Implement as library.
Implement as library.
Add testing folder.
Finish converting.