Merge pull request #11 from dkorolev/static_framework

Added TailProduce static code and macros for streams definition.