redesign class for Media Player