OSMC is an open source media center for Linux computers that works with the Raspberry Pi. This video from ETA Prime shows you how to install and configure the software. The Air Mouse looks like a good remote control to use with OSMC.
How to turn a Raspberry Pi into an open source media center