first version of ruby applications class