added local fileserver (http) and made macchiato into an object