Remove useless files
Move files around
Make a shared library of it