Moved ploting to its own package