Fixed XML layouts. Added missing gen directory that was causing problems