Library for handling usual operations in an HTPC