fixed license header
added services code