#1 build listener
#1 fixes after review
Merge pull request #2 from krzyk/1

#2: pull request #1 build listener