Separated sources in subfolders so as to have a clearer view of the code

Change-Id: I1f3d030310bd93e0919c94c75cea79461d05e0f2
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>