Answer Set Programming with Resources