added alias method and restructured library