yabs: create yabs class

	- Yabs class inherits from Generator and Parser for better
	  abstraction

Signed-off-by: Alberto Corona <alberto@0x1a.us>
yabs: use yabs class

	- Also fix break in getting current directory

Signed-off-by: Alberto Corona <alberto@0x1a.us>