Rewrite of the app from scratch

Also adds real sliding.