Added database support and syc command