Added Unicode support and multiple mandatory args.

In this commit unicode support added via io python module
(on io.open() we are receiving unicode strings).
Also regex for begin changed to foresee multiple mandatory
arguments.