cleanup and made more configurable

defined default environments
made graphite database name configurable
changed event db config to default db config
refactored bootstrap.sh
reorganised
cleaned up