optimize external application sourcecode and README