Added BooleanField, modified db config and non-metadata connection handling