Moodwonder front end code