Move stuff to src/ and remove duplicate testsuite

Change-Id: Iba1710d21bcb255161130606d1a8783dfa900316