Minor code cleanup, added readme