include src in .ghci
Move out some cruft to internal module