Adding license and improving db syncing to remote hosts.