added backend codes (again)

backend and web codes failed to be committed for some reason, added
up-to-date version again