Brooklyn company developing downloadable gun