Updated with gitignore and removed unnecessary main-function.