fixed urls, database config in separate file