Separate compile-time and base julia code

Addresses #9.