moving session and database configs to the new files
minor changes