restructured application for flask backend - Calais still NOT working, be careful. If someone wants to rewrite iti n python that'd be great.