made CLI use pymeddle base
repair logging (now on server)