Fix correct backend arrangement, and added a custom syncdb command