Several fixes, build logic now only misses application classes/jar inclusion