Basic Framework

According to bas080s base code,, i defined a little framework in order
to speed up development of commands a bit.