UserLib Code Updated and new deploy_code class created for modularity