[TASK] Splited JSON and HTML views and rewrited some stuff.