added new features

Also updated version & published to npm