Add markdown docs, html generator and abstract flags support