start moving moonc code to moonscript
more moonc functions to module
path_to_target