update gitignore and finish fixing cleardb