update gitignore and add constructor copy to Model