refactor CellAnalysis, add midline calculations
add Constants.java