moved source into lib folder to make coverage tests easier