Large update

Redesign, server logic added, views added