Splits code into src and include.
Updates rtest.