Separated modules
Made project a erlang library