Refactored Semilla applying the javascript Module pattern.
Added the Repo class and some comments.