Add abstract EPI, PI, Stream. Apply them on Local, Threads and Samza