Code restructure and added example to draw quad using VAOs.