add apache 2 license file

License for db monitor code