added getSize method
fixed flush method
improved ls command
install target now correctly overrides files