finished upgrading foundation to version 5, implemented director router, improved ui, refactored css and js, great progress