Added coveralls

Plus, some minor code cleanups.