Formated and added documentation