Fixed issue #7

- namespaces in database yml are now correctory recognized
- environment looked up as string rather than as symbol