move backend to backend directory
remove static content serving and flags from backend