Ac resource library

This includes the necessary changes to work with the AC resource library. #39