Add webpack and abstract react class