Adding ThreadPool and many other refactoring
working on new_array and static methods calls