I want to build a gaming pc for under 500?

Ok so i reaelly want to get into the pc regioen of the world. I only have 510$ to my name. Exact cash. I don't really want to run big games like crysis 3 and bioshock. Just want to play mainstream games like minecraft call of duty ghost and the rest of the serioes, garries mods, and all other games that are farely new. So i want to atleast run more then 80fps on minecraft. My labtop has 4gb of ram. It runs 40-60 fps on minecraft. I haven't tried any other games because i know it won't run it. I want to easily run games with no issues. I don't have the money to upgrade right away so make sure the parts are in my budget but are actually good parts. Thank you. Don't forgot about tax i only have 510$by the way i don't know much about computers i'm learning

Specs:
Fx 6300 processor
Gigabyte ga 78lmt-s2 motherboard
Ram 4gb ddr3
Amd HD 7850 Graphic card
160 hard disk
Simple inbuilt fan gaming cabinet

Happy gaming

Processor: AMD FX6300 6 core 3.5ghz ($119)
CPU Cooler: Corsair H100 ($80)
Motherboard: GIGABYTE GA-78LMT-USB3 ($65)
GPU: HIS Radeon HD7870 2GB ($210)
PSU: Corsair CX500 v2.3 600W 80 plus ($70)
RAM: CORSAIR XMS 8GB 240-Pin ($70)
HDD: Western Digital WD AV-GP ($90)
ODrive: Pioneer BDR-208DBK ($58)
case: CoolerMaster Elite 431 plus ($60)