removed .so file
Added File checks and command-line reading arguments