Put deck related stuff in own folder. Added some folders and switched to pushstate API.