added helper class and added block base file