moved all extension to inernal dir and added base doc ans structure to all of them