Cleaned some file + added log management client side.