moved backend into its own directory