restructure directory, set up basic backend