Start separating code for backend