added resource building

resource building adds up 50 every 1 second and if more than one gets
placed then obviously another 50 and so on….

I’ve also made it so the side panels show up based on an int that gets
switched and you hide the panel by pressing the escape key… needs
sorting!