Refactoring OMX player to OMXPlayer class and reworking API