Added batch submission, checking, ..., big code refactoring
added config file support for login