Reworked build process.

Removed previously separated expose fn.
Reworked test running. Now runs without pre-compiling.
Added better blanket config