block initializer

using blocks to initialize an object in a class in a module and set-up
its attributes