Code refactoring
Added deploy script