Added documentation, removed files.
Tidy up import and config directories.
Added trial rejection and analyses.
Clean-up source directory.