Implementation for reactive programming in scala with usage of macros