Added registry and database resources

Removed resource foo
Removed resource bar
Added resource registry
Added resource database