added text format, use form api and added manual page