clean up extensions, detatch view and layout language dependency