Deploy task
Add method options for deploy
Add requires
Fix extname and base name issues