maze demo

Preliminary prototyping improved, maze demo is working properly now.
Still missing functionality.