Updated DB backup and re-org'd config & setup

See readme.txt in config and setup for details
Added get logs by study ID to log_get