refactored code, deleted irrelevant files, fixed the prototyp frontend to make some prediction