small cleanups

- Move isort to "sort" folder for sorting functions
- Remove ifdef around TOP in Makefiles
- get the runner to compile from inside and outside the folder.

TODO: fix the abysmal coverage and get branch-coverage metrics