Restructure C file layout

* Move extension into ext and lib folders
* Moved coverage into submodule