Added basic formatting functions, added verbosity option