Alright, for getting lava or whatever out of tanks, set up a Wooden Waterproof Pipe so it directly touches the tank, then from there put cobble piping or whatever you want to use. Attach a redstone engine to the Wooden pipe, apply current, and it will start to pump it out. As for an automated system on the steam engines, this is where it gets a little more difficult. Get a chest, put a filter on it, put a timer next to it. Then, set up pneumatic tubes from the filter to the steam engines, and back to the other end of the chest. Set the filter to put out like 16 every 10 seconds. For more bonus points, use an energy condenser for the chest, and have a quarry feed into it creating charcole. You can use diamond pipes to separate diamonds and everything else you want to keep from going into the condenser. Good luck!!