Made database modules optional and added cassandra driver dependency.