Added record task

Added ant like record task. For more description: https://ant.apache.org/manual/Tasks/recorder.html