refactored main scripts to call centeral funcion in main_base
added git ignore file to ignore temp files that are created (if they don't get deleted properly)
modified factory asset in libraries dir