v 1.5

Added factories. Improved code style.