improved interfaces and phpdocs
#6 implemented suffix functional
#5 added tests cases for suffix fuctional