Added event-stream. Simplified the compiling.