adding main for npm