Cleaned up functions and added MediaInfoGetInt() and MediaInfoGetInt64()

This change made unit smaller and more modular