Cleanup of spearmint lite codebase