moved to slim framework (only view works)