Added simple profiling code
Added basic profile analysis tool