Revert "refactored code, ceparate AVPlayer impmlementation from the GUI"

This reverts commit 09ba6590d23571ef4c1dc4bcfa6fc15a16e14382.