#7 rework infrastructure for separating frontend and backend. As frontend added Ionic.