Subsearch commands

Append with tests are ready. Working on join and appendcols.