Moved metaprogramming facilities out of main directory