Basic functions

Includes basic functions. 

But, it's not guaranteed to work because this is the first time for me to make rubygems.