added type parameter to images fxn closes #89
added account fxn to wrap accounts endpoint closes #90