rewrite docs, update examples, support non-composer users