Added full featured resource handling

Fixed pesky float to integer parse bug