:v0.2.0: added lib directory and moved helper classes there.