Added in basic database acces for retrieving cards.  Re-vamped hanlding of properties files across environments"