Separate backend into self contained repository