Restructure project directory.
Rework data formats.

Untested, server side is still missing.