clean up + crypt + docs sqlite