refactored code base into development and production versions