Stubs for db, cache, thumbnails. PEP8 compliance editing