add build path to gitignore and add open method