Template magic in D to access Sqlite3 Databases