Refactor some code

Add fontconfig and sdl_ttf libs for further hud development