refactoring of Day Trade app; added Client