Added extension package json file and bug fixes