Changed rakefile structure

Now more modular, subtasks are organized
into namespaces