Added Apache License and documentation.