Restructured code

Added a junit rule to start and stop the ftp server