Move primitive from database-explorer branch to Gem.
Remove log directory.