backend finished for initial-prototype