Rename lib to src
Add compile options for testing