yapg implementation reworked and integrated

Stripped it clean, used standard layout, gradle- and eclipse-enabled it