implemented extensions.xml download and contraints