Move 3rd party stuff to libs directory