renamed extend and remove parameter and added setParameter function
updated readme