Changed 'engines' namespaces to 'logic' namespace