Cleanup a little.
When debugging, one print before action.
First part of sqlite support. Be smart, keep using files for now.