# setup paths -
_PATH_TO_ROOT = pwd()
_PATH_TO_SRC = joinpath(_PATH_TO_ROOT, "src")
_PATH_TO_DATA = joinpath(_PATH_TO_ROOT, "data")
_PATH_TO_CONFIG = joinpath(_PATH_TO_ROOT, "config")

# setup my package -
import Pkg
Pkg.activate(_PATH_TO_ROOT)
Pkg.update()
Pkg.instantiate()

# load external packages -
using TOML
using DataFrames
using CSV
using Plots
using DelimitedFiles
using Optim

# load my codes -
my_code_array = [
    "Data.jl", "Model.jl", "Optimize.jl"
]
for my_code_file in my_code_array
    path_to_code_file = joinpath(_PATH_TO_SRC, my_code_file)
    include(path_to_code_file)
end