created main() method and added packagin scripts