Moved some classes around for better cross-platform structure.
Fixed code coverage issues.
Added some logging to ease transition between platforms.
Removed Theme.clear for now.
Revert "Removed Theme.clear for now."
Revert "Added some logging to ease transition between platforms."

This reverts commit 98806d142b7b3266028e9e251aeb0a4c2ee3d0fc.
This reverts commit f01d54acdb586aae58298cb60d1a46102dfb5023.
Datalayer sqlite implementation.
Merge branch 'unstable' into feature/datalayer