Rewrite of the original backend app