add support for custom headers
add support for saving and getting resources by using dot operator