Added resource library, added server example