[v0.3.1] Separate main library from the app that uses it