refactored plugins so html can be served from inside node modules